package com.fowo.api.flow.config;


import com.fowo.api.flow.utils.IdWorker;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @fileName: IdWorkerConfig
 * @Description: 代码目的，作用，如何工作
 * @Author: pzh
 * @Date: 2023/3/29 0029 15:23
 */
@Configuration
public class IdWorkerConfig {

    @Bean
    public IdWorker idWorker(){
        return new IdWorker();
    }
}
